package com.jd.org.domain;


import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jd.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    @Excel(name = "店铺名称",orderNum = "1",width = 20)
    private String name;
    @Excel(name = "电话",orderNum = "2",width = 20)
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "入驻时间",orderNum = "3",width = 20, exportFormat="yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    //1.待审核  //2.待激活  //3.审核通过 //4.驳回
    @Excel(name = "状态",orderNum = "4",width = 10)
    private Integer state = 1;
    @Excel(name = "地址",orderNum = "5",width = 30)
    private String address;
    @Excel(name = "logo",orderNum = "6",width = 30)
    private String logo;
    //店铺管理员id
    private Long admin_id;
    //店铺管理员关联对象
    private Employee employee;
}
